// messages.h : Includes all messages components may respond to
//$Id: Messages.h 25 2009-08-21 02:02:10Z brwarner2 $
#pragma once

#include "types.h"

//Message container namespace
namespace Messages {

//Message macro
#define MESSAGE(name, value) \
	static const MessageID name = value;

MESSAGE(Render,0) //Render message
MESSAGE(Update,1) //Update message
MESSAGE(Startup,2) //Startup message
MESSAGE(TryMove,3) //Try to move the object
MESSAGE(Collide,4) //Collision between two entities
MESSAGE(GameStart,5) //All areas loaded and ready

//Clean up macro
#undef MESSAGE

}